WPGraphQL\Utils\Tracing S

Total Complexity 33
Dependencies 3
Dependents 1
Total lines 348
Lines of code 127
Logical lines of code 65
Comment lines 161
Methods 15
Properties 9

Methods 15

Method Rating Maintainability Complexity Lines of code
sanitize_resolver_trace()
S
59 8 13
user_can_see_trace_data()
S
58 4 16
add_tracing_to_response_extensions()
S
62 4 12
init()
S
56 2 17
init_field_resolver_trace()
S
63 2 10
end_field_resolver_trace()
S
67 2 8
sanitize_trace_resolver_path()
S
66 2 9
format_timestamp()
S
70 2 5
get_trace()
S
61 1 12
init_trace()
S
73 1 5
end_trace()
S
73 1 5
get_field_resolver_duration()
S
78 1 3
get_start_offset()
S
78 1 3
return_tracing_headers()
S
71 1 6
get_request_duration()
S
79 1 3